ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / FontFallbackBuilder Class / AddMapping Method / AddMapping(UnicodeRange[],String[],FontCollection,String,String,Single) Method
Unicode ranges that apply to this mapping.
List of target family name strings.
Optional explicit font collection for this mapping.
Locale of the context.
Base family name to match against, if applicable.
Scale factor to multiply the result target font by.

In This Topic
    AddMapping(UnicodeRange[],String[],FontCollection,String,String,Single) Method
    In This Topic
    Appends a single mapping to the list. Call this once for each additional mapping.
    Syntax
    'Declaration
     
    Public Overloads Sub AddMapping( _
       ByVal ranges() As UnicodeRange, _
       ByVal targetFamilyNames() As System.String, _
       ByVal fontCollection As FontCollection, _
       ByVal localeName As System.String, _
       ByVal baseFamilyName As System.String, _
       Optional ByVal scale As System.Single _
    ) 
    public void AddMapping( 
       UnicodeRange[] ranges,
       System.string[] targetFamilyNames,
       FontCollection fontCollection,
       System.string localeName,
       System.string baseFamilyName,
       System.float scale
    )

    Parameters

    ranges
    Unicode ranges that apply to this mapping.
    targetFamilyNames
    List of target family name strings.
    fontCollection
    Optional explicit font collection for this mapping.
    localeName
    Locale of the context.
    baseFamilyName
    Base family name to match against, if applicable.
    scale
    Scale factor to multiply the result target font by.
    See Also